home *** CD-ROM | disk | FTP | other *** search
- @echo off
- echo This is an eight page demonstration of 2COL features.
- if "%1"=="9" goto 9
- if "%1"=="24" goto 24
- if "%1"=="J" goto J
- if "%1"=="j" goto J
- echo.
- echo To run this demo on a 9-pin printer type: DEMO2COL 9 (enter)
- echo.
- echo If your 9-pin printer does not support 20 char/inch,type:DEMO2COL 9 -W68 (enter)
- echo.
- echo To run this demo on a 24-pin (LQ type) printer type:DEMO2COL 24 (enter)
- echo.
- echo To run this demo on a Deskjet type: DEMO2COL J (enter)
- echo.
- goto end
- :9
- echo.
- echo A few of the printing options demonstrated are bonus registered features.
- echo Various options can be combined on the command line, if separated by spaces.
- echo.
- echo 2col prints with its default settings: 2COL 2COL.DOC >prn
- 2COL 2COL.DOC -K -F1 %2
- echo For more than 102 lines/page 2col uses small type: 2COL 2COL.DOC -L180>prn
- 2COL 2COL.DOC -K -F1 -L170 %2
- echo To retain all blank lines in original document type: 2COL 2COL.DOC -C66>prn
- 2COL 2COL.DOC -K -F1 -C66 %2
- echo Original source pages can be delimited by typing:2COL 2COL.DOC -D>prn
- echo Pages can be numbered at the bottom by typing:2COL 2COL.DOC -N>prn
- 2COL 2COL.DOC -K -F0 -D -N %2
- echo To print at 17 char/inch,use a columnwidth less than 69: 2COL 2COL.DOC -W68>prn
- 2COL 2COL.DOC -K -F1 -W68
- echo Automargin creates an 8 space left margin: 2COL 2COL.DOC -U8 >prn
- echo This feature is a bonus registered feature.>prn
- 2COL 2COL.DOC -K -F0 -U8 %2
- echo You can print exactly two pages/column by typing:2COL 2COL.DOC -X2>prn
- echo This is a registered version feature.>prn
- 2COL 2COL.DOC -K -F0 -X2 %2
- if "%2"=="-W68" goto endr
- if "%2"=="-w68" goto endr
- echo You can also reformat documents to different widths>prn
- echo and print three or more columns:2COL 2COL.DOC -&R52 -W52 -$3>prn
- 2COL 2COL.DOC -K -F0 -&R52 -W52 -$3
- goto endr
- :J
- echo 2COL will print demonstration pages in the following order:>prn
- echo (A 4 line top margin has been added to all printouts using -F4)>prn
- echo.>prn
- echo 1.default settings: 2COL 2COL.DOC -J>prn
- echo.>prn
- echo 2.Automargin creates an 8 space left margin: 2COL 2COL.DOC -U8 -J>prn
- echo This is a bonus feature in the registered version.>prn
- echo.>prn
- echo 3.Registered users can reformat to different widths:2COL 2COL.DOC -&R78>prn
- echo.>prn
- echo 4.For more than 102 lines/page 2COL uses 6 point type: 2COL 2COL.DOC -L170 -J>prn
- echo.>prn
- echo 5.To retain all blank lines in original document type: 2COL 2COL.DOC -C66 -J>prn
- echo.>prn
- echo 6.Original source pages can be delimited by typing: 2COL 2COL.DOC -D -J>prn
- echo Pages can be numbered at the bottom by typing 2COL 2COL.DOC -N -J>prn
- echo.>prn
- echo 7.You can print exactly 2 pages/column by typing: 2COL 2COL.DOC -X2 -D -J>prn
- echo This is a bonus feature in the registered version.>prn
- echo.>prn
- echo 8.To print at 17 cpi, use a column width of less than 69:2COL 2COL.DOC -W68 -J>prn
- echo Since the Deskjet actually prints at 16.67 cpi, you must be careful when>prn
- echo using the -W68 or -W67 options because up to 4 characters could be >prn
- echo truncated on the right side of the page as shown in this example.>prn
- echo &l2C&l0L>prn
- 2col 2col.doc -K -f4 -J
- 2col 2col.doc -K -f4 -U8 -J
- 2col 2col.doc -K -F4 -&R78 -J
- 2col 2col.doc -K -F4 -L170 -J
- 2col 2col.doc -K -F4 -C66 -J
- 2col 2col.doc -K -F4 -D -N -J
- 2col 2col.doc -K -F4 -X2 -D -J
- 2col 2col.doc -K -F4 -W68 -J
- 2col 2col.doc -K -F0 -!-120 -W65 -&R65 -$3 -L75 -#27,38,108,49,79 -J
- goto endr
- :24
- echo.
- echo A few of the printing options demonstrated are bonus registered features.
- echo Various options can be combined on the command line, if separated by spaces.
- echo When using a 24-pin printer the -Q option must always be used.
- echo.
- echo 2col prints with its default settings: 2COL 2COL.DOC -Q >prn
- 2COL 2COL.DOC -K -F1 -Q
- echo 24-Pin printers use taller fonts. Your printing will appear less crowded >prn
- echo if you choose 82 lines per page : 2COL 2COL.DOC -L82 -Q >prn
- 2COL 2COL.DOC -K -F0 -L82 -Q
- echo For more than 102 lines/page 2col uses small type: 2COL 2COL.DOC -L160 -Q>prn
- 2COL 2COL.DOC -K -F1 -L160 -Q
- echo To retain all blank lines in original document type: 2COL 2COL.DOC -C66>prn
- 2COL 2COL.DOC -K -F1 -C66 -Q
- echo Original source pages can be delimited by typing:2COL 2COL.DOC -D>prn
- echo Pages can be numbered at the bottom by typing:2COL 2COL.DOC -N>prn
- 2COL 2COL.DOC -K -F0 -D -N -Q
- echo To print at 17 char/inch,use a columnwidth less than 69: 2COL 2COL.DOC -W68>prn
- 2COL 2COL.DOC -K -F1 -W68 -Q
- echo Automargin creates an 8 space left margin: 2COL 2COL.DOC -U8 -Q >prn
- echo This is a bonus registered feature.>prn
- 2COL 2COL.DOC -K -F0 -U8 -Q
- echo You can print exactly two pages/column by typing:2COL 2COL.DOC -X2>prn
- echo This feature is a bonus registered feature.>prn
- 2COL 2COL.DOC -K -F0 -X2 -Q
- echo You can reformat documents to different widths>prn
- echo and print three or more columns:2COL 2COL.DOC -&R52 -W52 -$3 -Q>prn
- 2COL 2COL.DOC -K -F0 -&R52 -W52 -$3 -Q
- :endr
- copy register.doc prn
- :end
-